RtFreeLockedMemory

RtFreeLockedMemory frees memory previously committed and locked by a call to RtAllocateLockedMemory.

Syntax

BOOL RtFreeLockedMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

A pointer to the start of the memory, as returned by RtAllocateLockedMemory.

Return Values

TRUE if the function succeeds, FALSE if the function fails

Remarks

RtFreeLockedMemory frees memory previously allocated, committed, and locked by RtAllocateLockedMemory.

Requirements

Header Rtapi.h
Library rtapi_w32.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtAllocateLockedMemory

RtCommitLockHeap

RtCommitLockProcessHeap

RtCommitLockStack

RtLockKernel

RtLockProcess

RtUnlockKernel

RtUnlockProcess

IntervalZero.com | Support | Give Feedback